package com.atm.atmsys.utils;

import cn.hutool.extra.qrcode.QrCodeUtil;
import cn.hutool.extra.qrcode.QrConfig;
import com.google.zxing.qrcode.decoder.ErrorCorrectionLevel;

import java.io.File;

public class CodeUtil {
    public static void main(String[] args) {
        //设置纠错级别为高
        QrConfig config = new QrConfig();
        config.setErrorCorrection(ErrorCorrectionLevel.H);
        //设置二维码尺寸
        config.setWidth(500);
        config.setHeight(500);

    }
}
